package com.yanfan.zutai.domain;

import com.yanfan.common.annotation.Excel;
import com.yanfan.common.core.domain.BaseEntity;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.Date;

/**
 * 短信报警电话对象 b_device_phone
 *
 * @author ruoyi
 * @date 2021-09-15
 */
@Data
public class BDevicePhone extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id唯一标识
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 部门id串(like查询)
     */
    private String deptIdStrs;

    /**
     * 设备编号
     */
    @Excel(name = "设备编号")
    private String deviceMac;

    /**
     * 设备名称
     */
    @Excel(name = "设备名称")
    private String deviceName;

    /**
     * 报警电话
     */
    @Excel(name = "报警电话")
    private String warnPhone;
    /**
     * 报警时间
     */
    private Date warnTime;

    /**
     * 报警次数
     */
    private Integer warnNum;

    /**
     * 报警频率
     */
    @Excel(name = "报警频率")
    private Integer warnRate;
    /**
     * 设备号/设备名称查询
     */
    private String deviceQuery;
    /**
     * 报警电话
     */
    @Excel(name = "报警电话")
    private String warnPhone1;

    /**
     * 报警电话
     */
    @Excel(name = "报警电话")
    private String warnPhone2;

    /**
     * 报警电话
     */
    @Excel(name = "报警电话")
    private String warnPhone3;

    /**
     * 报警电话
     */
    @Excel(name = "报警电话")
    private String warnPhone4;
}
